CC=g++
FLAG=-std=c++11 -fopenmp -D _FILE_OFFSET_BITS=64
#-L"ws2_32" -mwindows -lwsock32



build:datagram_header.o datagram.o fudpSender.o fudpReciver.o msgstream.o
	ar crv libcommon_conf.a *.o
	make clean
	

datagram_header.o: datagram_header.cpp
	${CC} -c ${FLAG} datagram_header.cpp

datagram.o: datagram.cpp
	${CC} -c ${FLAG} datagram.cpp

fudpReciver.o: fudpReciver.cpp
	${CC} -c ${FLAG} fudpReciver.cpp

fudpSender.o: fudpSender.cpp
	${CC} -c ${FLAG} fudpSender.cpp

msgstream.o: msgstream.cpp
	${CC} -c ${FLAG} msgstream.cpp

clean:
	rm *.o